package com.kefu.boss.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value="boss_version")
@ApiModel(description = "菜单版本")
public class BossVersion implements Serializable{
    /**
     * 主键
     */
	@TableId(value="id",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 版本名称
     */
    @TableField(value="version_name")
    @ApiModelProperty(name = "versionName", value = "版本名称")
    private String versionName;

    /**
     * 备注
     */
    @TableField(value="remark")
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

    /**
     * 创建人
     */
    @TableField(value="create_user")
    @ApiModelProperty(name = "createUser", value = "创建人")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value="create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    /**
     * 版本菜单
     */
    @TableField(value="version_menus")
    @ApiModelProperty(value = "创建时间")
    private String versionMenus;
    private static final long serialVersionUID = 1L;
}